﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HXDNB.Infrastructure.Helper
{
    public class TextHelper
    {       
        public static string ReplaceCode(string text)
        {
            string str = string.IsNullOrEmpty(text) ? "" : text.Replace("®", "&reg;").Replace("™", "&trade;").Replace("©", "&copy;");
            return str;
        }
    }
}
